﻿<?xml version="1.0" encoding="utf-8" ?>
<resourceMetadata>
  <name>Loan</name>
  <uriTemplates>
    <POST>loans/</POST>
    <GET>loans/{loanNumber}</GET>
  </uriTemplates>
  <className>LoanDto</className>
  <field>
    <name>loanNumber</name>
  </field>
  <field>
    <name>primaryBorrower</name>
    <type>BorrowerDto</type>
  </field>
  <field>
    <name>numberOfBorrowers</name>
    <type>int</type>
  </field>
  <field>
    <name>applicationDate</name>
    <type>DateTime</type>
  </field>
  <field>
    <name>loanAmount</name>
    <type>decimal</type>
  </field>
  <field>
    <name>loanTermInYears</name>
    <type>int</type>
  </field>
</resourceMetadata>